package com.sihan.framework.etm.entity.business;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.framework.model.BaseModel;
import com.framework.mybatis.annotation.AutoGenerator;
import com.framework.mybatis.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(name="jdx_etm_user_borrow_master")
public class ToolBorrowMaster extends BaseModel implements Serializable{/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO)
	@AutoGenerator(idType = IdType.UUID32)
	private String id;
	//领用人
	private String userId;
	//0：未领用，1：已领用，-1：作废
	private Integer status;
	//选择的任务id
	private String planId;
	private String taskCode;
	//领用原因
	private String taskName;
	//任务图片名称
	private String taskImg;
	
	private Date startTime;
	
	private Date stopTime;
	
	private Boolean send;

}
